<form name="frmSchName" method="post" onSubmit="return submitForm(document.frmSchName);" action="{$apm.baseurl}search/{$form_act}">
	<p class="searchAttTxt01">※「推奨物件から検索」を選択した場合は、「大学」「短大」「専門学校」から選択してください。</p>
	<!-- searchSchoolType -->
	<div id="searchSchoolType">
		<!-- inputBlock -->
		<div class="inputBlock">
			<!-- block01 -->
			<div class="block01">
				<p>
					<input type="text" name="sch_name" id="sch_name" size="16" maxlength="40" value="{$research_data.ReSrhName}" />
				</p>
			</div>
			<!-- /block01 -->
			<!-- block02 -->
			<div class="block02">
				<p class="condition">
					<label>
					<input type="radio" name="SrhType" id="SrhType1" value="{$srhtype_map}" onclick="javascript:type_change();" {if $research_data.ReSrhType != "$srhtype_list"}checked="checked" {/if}/>
						地図から検索</label>
					<label>
					<input type="radio" name="SrhType" id="SrhType2" value="{$srhtype_list}" onclick="javascript:type_change();" {if $research_data.ReSrhType == "$srhtype_list"}checked="checked" {/if}/>
						推奨物件を検索</label>
				</p>
				<p class="school">
					<label>
					<input type="radio" name="janru_cd" id="janru_cd_1" value="16007" {if $research_data.ReJanruCd == "16007" || not $research_data.ReJanruCd}checked="checked" {/if}/>
						大学</label>
					<label>
					<input type="radio" name="janru_cd" id="janru_cd_2" value="16006" {if $research_data.ReJanruCd == "16006"}checked="checked" {/if}/>
						短大</label>
					<label>
					<input type="radio" name="janru_cd" id="janru_cd_3" value="16005" {if $research_data.ReJanruCd == "16005"}checked="checked" {/if}/>
						専門学校</label>
				</p>
			</div>
			<!-- /block02 -->
		</div>
		<!-- /inputBlock -->
	</div>
	<!-- /searchSchoolType -->
	<!-- searchBtnBlock02 -->
	<div id="searchBtnBlock02">
		<!-- btnBlock -->
		<div class="btnBlock">
			<p class="btn">
				<input name="imageField" type="image" class="rollImg" id="imageField" src="/images/search/common/btn_search_02.gif" alt="検索" />
			</p>
		</div>
		<!-- /btnBlock -->
	</div>
	<!-- /searchBtnBlock02 -->
<input type="hidden" name="SrhKbn" value="15" />
</form>
{literal}
<SCRIPT language="javascript">
<!--
function submitForm(obj){
	if(obj.name=="frmSchName"){
		if(obj.sch_name.value==""){
			alert("『学校名』を入力してください。");
			obj.sch_name.focus();
			return false;
		}
	}
	//obj.submit();
	return true;
}
function type_change() {
	if (document.getElementById("SrhType1").checked) {
		document.getElementById("janru_cd_1").disabled = true;
		document.getElementById("janru_cd_2").disabled = true;
		document.getElementById("janru_cd_3").disabled = true;
	}
	else {
		document.getElementById("janru_cd_1").disabled = false;
		document.getElementById("janru_cd_2").disabled = false;
		document.getElementById("janru_cd_3").disabled = false;
	}
}
window.onload = function() {
	type_change();
}
window.onunload= function() { }
//-->
</SCRIPT>
{/literal}
